import axios from "axios";

let config = {
  headers: {
    credentials: 'same-origin'
  }
}
export async function getMenus() {
  return axios.get("../../json/menu.json")
}

export async function Login(payload) {
  console.log(payload)
  return axios.post("me_signin", payload);
}

export async function UserLogout() {
  return axios.post("me_signout");
}

export async function WalletList() {
  return axios.post("wa_list");
}


export async function depositList() {
  return axios.post("wa_deposit");
}


export async function HositoryList(payload) {
  return axios.post("wa_history",payload);
}
export async function RechargeList(payload) {
  return axios.post("wa_deposit",payload);
}
export async function Balance(payload) {
  return axios.post("wa_balance",payload);
}
export async function withdraw1(payload) {
  return axios.post("wa_withdraw_1",payload);
}
export async function addressCreate(payload) {
  return axios.post("wa_withdrawaddresscreate",payload);
}

export async function withdraw2(payload) {
  return axios.post("wa_withdraw_2",payload);
}
export async function addressDelete(payload) {
  return axios.post("wa_withdrawaddressdelete",payload);
}



